<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>学生选课管理系统</title>
    <link href="${base}/resources/css/common.css" rel="stylesheet" type="text/css"/>
    <link href="${base}/resources/css/login.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${base}/resources/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/resources/js/jsbn.js"></script>
    <script type="text/javascript" src="${base}/resources/js/prng4.js"></script>
    <script type="text/javascript" src="${base}/resources/js/rng.js"></script>
    <script type="text/javascript" src="${base}/resources/js/rsa.js"></script>
    <script type="text/javascript" src="${base}/resources/js/base64.js"></script>
    <script type="text/javascript" src="${base}/resources/js/common.js"></script>
    <script type="text/javascript" src="${base}/resources/js/login.js"></script>
</head>
<body>
<div class="login">
    <form id="loginForm" action="toLogin.html" method="POST">
        <input type="hidden" id="enPassword" name="enPassword"/>
        <input type="hidden" name="captchaId" value="${captchaId}"/>
        <table>
            <tr>
                <th>&nbsp;</th>
                <th>用户类型:</th>
                <td>
                    <select name="category" style="width: 190px">
                        <option value="1">管理员</option>
                        <option value="2">老师</option>
                        <option value="3">学生</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="190" rowspan="2" align="center" valign="bottom"></td>
                <th>
                    用户名:
                </th>
                <td>
                    <input type="text" id="username" name="username" class="text"/>
                </td>
            </tr>
            <tr>
                <th>
                    密码:
                </th>
                <td>
                    <input type="password" id="password" name="password" class="text" autocomplete="off"/>
                </td>
            </tr>

            <tr>
                <td>
                    &nbsp;
                </td>
                <th>
                    &nbsp;
                </th>
                <td>
                    <label>
                        <input type="checkbox" id="isRememberUsername" value="true"/>
                        记住用户名
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <th>
                    &nbsp;
                </th>
                <td>
                    <input type="button" class="homeButton" value="" onclick="location.href='${base}/'" title="首页"/>
                    <input type="submit" class="loginButton" value="登录"/>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>